package org.zfes.snowier.cloud.zbss.widget.act.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class ActQuestionCategory extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ActQuestionCategory() {}
	public ActQuestionCategory(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	@javax.validation.constraints.NotBlank(message="题库名称不能为空")
	@javax.validation.constraints.NotNull(message="题库名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="题库名称长度不能大于100")
	  private java.lang.String name;
 
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="logo长度不能大于255")
	private java.lang.String logo;
 
	@org.hibernate.validator.constraints.Length(min=0,max=200,message="备注长度不能大于200")
	private java.lang.String remark;
	private java.lang.Integer questionCount;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="试题分析结果长度不能大于100")
	private java.lang.String questionAnalysis;
	private java.util.Date createTime;
	private java.util.Date updateTime;
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	private java.lang.Byte status;
	@javax.validation.constraints.NotBlank(message="创建者不能为空")
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=50,message="创建者长度不能大于50")
	private java.lang.String creatorUser;
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	private java.lang.Long creatorUserId;
 
	
	//<-------------------------------------------->
	public ActQuestionCategory setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public ActQuestionCategory setLogo(java.lang.String logo){
		this.logo=logo==null?null:logo.trim();
	 return this;
	}
	public java.lang.String getLogo(){
		return this.logo;
	}
	public ActQuestionCategory setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public ActQuestionCategory setQuestionCount(java.lang.Integer questionCount){
	 this.questionCount=questionCount;
	 return this;
	}
	public java.lang.Integer getQuestionCount(){
		return this.questionCount;
	}
	public ActQuestionCategory setQuestionAnalysis(java.lang.String questionAnalysis){
		this.questionAnalysis=questionAnalysis==null?null:questionAnalysis.trim();
	 return this;
	}
	public java.lang.String getQuestionAnalysis(){
		return this.questionAnalysis;
	}
	public ActQuestionCategory setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public ActQuestionCategory setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public ActQuestionCategory setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public ActQuestionCategory setCreatorUser(java.lang.String creatorUser){
		this.creatorUser=creatorUser==null?null:creatorUser.trim();
	 return this;
	}
	public java.lang.String getCreatorUser(){
		return this.creatorUser;
	}
	public ActQuestionCategory setCreatorUserId(java.lang.Long creatorUserId){
	 this.creatorUserId=creatorUserId;
	 return this;
	}
	public java.lang.Long getCreatorUserId(){
		return this.creatorUserId;
	}

}
